Save Annotations when ImagXpress® saves the Image File
NotateXpress™ annotations can be saved directly to TIFF files, either in a Wang/Imaging for Windows compatible tag, or in a NotateXpress annotation tag. To save annotations automatically when a TIFF file is saved, ensure the following:
- Ensure that SaveAnnotations is set to True, to specify that annotations should be saved into a TIFF file when the ImagXpress SaveFile method is executed.
-
Set the AnnotationType property to establish the annotation type (Wang/Imaging for Windows compatible tag, or NotateXpress tag) to be saved with TIFF files.
|
The only NX annotation types you can correctly save to Wang are:
- Freehand
- Image
- Line
- Rectangle
- Stamp
- Text
|
- If the TIFFAnnotationType is set to NX_I4W_Compatible, the annotation objects will be saved in Wang/Imaging For Windows compatible format. Set the PreserveWTLayers property to specify whether annotations from each layer are stored under one Group tag, or whether each annotation on a layer is stored in a separate Group tag.
- Call ImagXpress10.SaveFile to save the TIFF file and associated annotations.